package com.shop.front.dao.system;

import com.shop.domain.system.Banner;
import com.shop.domain.system.NewSystemConfig;
import com.shop.jpa.BaseDao;
import org.springframework.data.jpa.repository.Query;

import java.util.List;


public interface BannerDao extends BaseDao<Banner, Integer> {


    @Query("from Banner where isEnable = ?1 and isDeleted = 0")
    public List<Banner> findByCategoryList(Integer isEnable);

}